package com.rc.evcharger;

import com.rc.evcharger.config.TransactionAdviceConfig;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@EnableRabbit
@EnableDiscoveryClient
@Import(TransactionAdviceConfig.class)
@SpringBootApplication(scanBasePackages = {"com.rc.evcharger"},
        exclude = {
                //MongoAutoConfiguration.class, MongoDataAutoConfiguration.class,
                //RabbitAutoConfiguration.class,
                QuartzAutoConfiguration.class,
                SecurityAutoConfiguration.class})
public class RcEvchargerBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(RcEvchargerBootApplication.class, args);
    }

}
